
/*.editor-wrapper {
    margin: 20px 0;
}*/

.ql-container {
    min-height: 200px;
    border-radius: 0 0 8px 8px !important;
}

.ql-toolbar {
    border-radius: 8px 8px 0 0 !important;
}
.editor-wrapper {
    width: 100%;
    transition: all 0.3s ease;
}

.editor-wrapper:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.editor-content .ql-toolbar {
    border-bottom: 1px solid #e0e0e0;
    background-color: #f9fafb;
    padding: 8px 12px;
}

.editor-content .ql-container {
    border: none;
    font-size: 16px;
    line-height: 1.6;
}

.editor-content .ql-editor {
    background-color: #ffffff; /* 编辑区背景色（白纸效果） */
    min-height: 300px;
    padding: 16px;
}

/* 表格样式优化 */
.editor-content .ql-editor table {
    border-collapse: collapse;
    width: 100%;
    margin: 16px 0;
}

.editor-content .ql-editor table td,
.editor-content .ql-editor table th {
    border: 1px solid #ddd;
    padding: 8px 12px;
}

.editor-content .ql-editor table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* 代码块样式优化 */
.editor-content .ql-editor pre.ql-syntax {
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 12px;
    font-family: monospace;
    font-size: 14px;
    overflow-x: auto;
}

/* 图片样式 */
.editor-content .ql-editor img {
    max-width: 100%;
    height: auto;
    margin: 16px 0;
}

.editor-status-bar {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
